/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.service.shop;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.hk.shop.dao.shop.HkShopCouponDao;
import com.thinkgem.jeesite.modules.hk.shop.entity.shop.HkShopCoupon;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 优惠券Service
 * @author 李欣荣
 * @version 2018-09-27
 */
@Service
@Transactional(readOnly = true)
public class HkShopCouponService extends CrudService<HkShopCouponDao, HkShopCoupon> {

	public HkShopCoupon get(String id) {
		return super.get(id);
	}
	
	public List<HkShopCoupon> findList(HkShopCoupon hkShopCoupon) {
		return super.findList(hkShopCoupon);
	}
	
	public Page<HkShopCoupon> findPage(Page<HkShopCoupon> page, HkShopCoupon hkShopCoupon) {
		return super.findPage(page, hkShopCoupon);
	}
	
	@Transactional(readOnly = false)
	public void save(HkShopCoupon hkShopCoupon) {
		super.save(hkShopCoupon);
	}
	
	@Transactional(readOnly = false)
	public void delete(HkShopCoupon hkShopCoupon) {
		super.delete(hkShopCoupon);
	}

	
}